// Prevents additional console window on Windows in release, DO NOT REMOVE!!
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
use std::env;
mod claude;
mod common;
fn main() {
    tauri::Builder::default()
        .plugin(tauri_plugin_window_state::Builder::default().build())
        .invoke_handler(tauri::generate_handler![
            claude::run_clewd,
            common::get_free_port,
            claude::set_cookie
        ])
        .run(tauri::generate_context!())
        .expect("error while running tauri application");
}
